package main

import (
	"fmt"
	"github.com/gin-gonic/gin"
	"go-log/routers"
	"os"
)

func main() {
	r := gin.Default()

	routers.ApiRouter(r)

	err := r.Run(":9191")
	if err != nil {
		fmt.Printf("[go-log]启动失败,%v\n", err)
		os.Exit(1)
	}
}
